package com.cz.video.website.service;


import com.cz.video.common.core.domain.PageQuery;
import com.cz.video.common.core.page.TableDataInfo;
import com.cz.video.website.domain.WebsiteMsg;
import com.cz.video.website.domain.WebsiteMsg;
import com.cz.video.website.domain.bo.WebsiteMsgBo;
import com.cz.video.website.domain.bo.WebsiteMsgBo;
import com.cz.video.website.domain.vo.WebsiteMsgVo;
import com.cz.video.website.domain.vo.WebsiteMsgVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LLF
 * @since 2023-10-16
 */
public interface IWebsiteMsgService{

    /**
     * 新增信息表信息
     *
     * @param websiteMsg 用户信息
     * @return 结果
     */
    int insertMsg(WebsiteMsg websiteMsg);

    int updateMsg(WebsiteMsgBo websiteMsg);

    /**
     * 分页查询查找信息表信息
     * @param websiteMsg
     * @param pageQuery
     * @return
     */
    TableDataInfo<WebsiteMsgVo> selectPageMsgList(WebsiteMsgBo websiteMsg, PageQuery pageQuery);

    int deleteById(int id);
}


